package com.bluesky.javawebbrowser.domain.html.tags.form.input;

import javax.swing.JButton;
import javax.swing.JComponent;


public class Text extends Input {

	public Text() {
		
		inputType = InputType.TEXT;
		
		attributes.put("type", inputType.toString());
	}
	
	public Text(Input input) {
		inputType = InputType.TEXT;
		
		copy(input);
	}
	
	@Override
	public JComponent getComponent() {

		

		JButton button = new JButton(getValue());

		return button;
	}
}
